cmake_minimum_required(VERSION 3.10)

# 数据结构算法
project(graphics)

#macro
add_definitions(-DUNICODE -D_UNICODE)
add_definitions(-DME_NO_VTK)

# compile features
# set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 14)

# 使用Qt的模块
set(MEQT_LIB Core)
find_package(Qt5 COMPONENTS REQUIRED ${MEQT_LIB})

find_package(OpenCV REQUIRED )

### exe
add_executable(alg_bresenhamCircle alg_bresenhamCircle.cpp)

# 使用数学库EigenDemo
add_executable(eigendemo eigendemo.cpp)
add_executable(TransformDemo TransformDemo.cpp)

# mkl 静态库使用
add_executable(MklDemo MklDemo.cpp)
#target_link_libraries(MklDemo ${OpenBLAS_LIBRARIES})

# 椭圆弧长算法
add_executable(EllipseArcLength EllipseArcLength.cpp)
